package com.zimmur.app.mocolink.dao;

import com.zimmur.app.mocolink.domain.model.UserAdvice;
import com.zimmur.app.mocolink.domain.model.UserAdviceExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface UserAdviceMapper {
    int countByExample(UserAdviceExample example);

    int deleteByExample(UserAdviceExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(UserAdvice record);

    int insertSelective(UserAdvice record);

    List<UserAdvice> selectByExample(UserAdviceExample example);

    UserAdvice selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") UserAdvice record, @Param("example") UserAdviceExample example);

    int updateByExample(@Param("record") UserAdvice record, @Param("example") UserAdviceExample example);

    int updateByPrimaryKeySelective(UserAdvice record);

    int updateByPrimaryKey(UserAdvice record);
}